<%@page contentType="text/html; charset=UTF-8"%>
<%@taglib uri="/WEB-INF/struts-tags.tld" prefix="s"%>
<%@ page import="com.dianning.comm.*" %>
<%@ page import="com.dianning.web.servlet.*" %>
<link href="css/top.css" rel="stylesheet" type="text/css" />
<div class="newtop11" >
 <span class="newtop11L">切换城市：<a href="http://www.dianning.com/default.asp">沈阳</a> | <a href="http://as.dianning.com/default.asp">鞍山</a>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
 
 <span class="newtop11tq"><a href="http://www.weather.com.cn/weather/101070101.shtml" target="_blank" class="link_top11">今日天气</a>&nbsp;|&nbsp;<a href="http://218.25.58.44/searchsys/" target="_blank"  class="link_top11">违章查询</a> </span>
 <span class="newtop2r11">
 <div class="newtop2r1 ">
<%
UserSession us = DianningUtil.getUser(request);
if(us == null){
%>
   <span class="denglu"><li><a href="/" class="link_b">点宁网首页</a></li> 
   <li><a href="/user/profile.action" class="link_b">开通网店</a></li>  |
   <li><a href="/register.action" class="link_b"><img src="/images/an2.gif" width="39" height="15" /></a></li> |
   <li><a href="/login.action" class="link_b"><img src="/images/an1.gif" width="39" height="15" /></a></li>    
   </span>
<%
}else{
	if(us.getUid() == 0){
%>
   <span class="denglu"><li><a href="/" class="link_b">点宁网首页</a></li> 
   <li><a href="/user/profile.action" class="link_b">开通网店</a></li>  |
   <li><a href="/register.action" class="link_b"><img src="/images/an2.gif" width="39" height="15" /></a></li> |
   <li><a href="/login.action" class="link_b"><img src="/images/an1.gif" width="39" height="15" /></a></li>    
   </span>
<%
	}else{
%>
	<span class="denglu">
	<li><a href="/" class="link_b">点宁网首页</a></li> 	 
	<li><a href="/user/profile.action" class="link_b">开通网店</a></li>  | 
	   <li><a href="/logout.action" class="link_b"><FONT color=#8C8C8C>退出</FONT></a></li> |
	   <li><a href="/user/index.action" class="link_b">[用户中心]</a></li>
	   <li  class="topu"><%=us.getUsername()%></li>
	</span>
<%	
	}
}
%>   
  </div>
 
 </span>
</div>

<div class="newtop2" >
  <span class="newtop2L">
	 <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="148" height="77" id="logo" align="middle">
		<param name="allowScriptAccess" value="sameDomain" />
		<param name="movie" value="/images/logo.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#ffffff" /><embed src="/images/logo.swf" quality="high" wmode="transparent" bgcolor="#ffffff" width="148" height="77" name="logo" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
	</object>
  </span>	
	<span class="newtop2z1">
	<div class="newtop_qh"><strong>沈阳</strong></div>
	<div class="newtop_qh2">
	
	</div>
	</span>

	<span class="newtop2z">

<form method="post" action="/search.action" target="_top">		
		<div class="landseach1 ">
    		<ul>
				<li ><input name="title" type="text" class="landseachbg2aa" value=""/></li>
				<li ><input type="submit" class="search1aa" value="" /></li>
			</ul>  
		</div>
</form>		
  </span>
		<span class="newtop2ra">	
     <div class="newtop2r2 "><li><a href="/post.action" class="link_topred" ><strong>免费发布信息&gt;&gt;</strong></a></li>
      <li> <a href="/user/index.action" class="link_toph">修改/删除信息 </a></li></div>
   </span></div>
   <br>